package cn.wzy.service;

import cn.wzy.pojo.Car;
import cn.wzy.results.ResponseResult;
import cn.wzy.vo.CarSearchQuery;
import cn.wzy.vo.GoPageVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * (Car)表服务接口
 *
 * @author makejava
 * @since 2023-01-24 10:49:08
 */
public interface CarService extends IService<Car> {
    
    ResponseResult getCarPage(GoPageVo goPageVo);

    ResponseResult saveCar(Car car);

    ResponseResult getCar(Long id);
    
    ResponseResult deleteCar(Long id);

    ResponseResult deleteCarList(List<Long> ids);

    ResponseResult onsale(List<Long> ids);

    ResponseResult offsale(List<Long> ids);
}

